package democlone;

/**
 * ClassName Test
 * Description TODO
 * Author Yanyan
 * Date 2025/11/13 14:37
 * Version 1.0
 */
public class Test {
    public static void main(String[] args) throws CloneNotSupportedException{
        Person person1 = new Person(2112304);
        Person person2 = (Person) person1.clone();
        System.out.println(person1.m.money);
        System.out.println(person2.m.money);

        System.out.println("==============");

        person2.m.money = 774728;

        System.out.println(person1.m.money);
        System.out.println(person2.m.money);



    }
}
